package com.library.dcy.service;


import com.library.dcy.entity.Library;
import com.library.dcy.util.Page;

public interface LibraryService {
    /**
     * 查询
     * @param name
     * @param currentPage
     * @return
     */
    Page<Library> findByPage(String name, Integer currentPage);
    /**
     * 修改
//     * @param reaId
//     * @param idCard
//     * @param pwd
//     * @param name
//     * @param age
//     * @param phone
//     * @param price
     * @return
     */
    boolean replace(Library library);
    /**
     * 注销
     * @param reaId
     * @return
     */
    boolean findCancel(Integer reaId);
}
